# Contributor: Sören Tempel <soeren+alpine@soeren-tempel.net>
# Contributor: Francesco Colista <fcolista@alpinelinux.org>
# Maintainer: Francesco Colista <fcolista@alpinelinux.org>
pkgname=diakonos
replaces="diakonos-git"
pkgver=0.9.12
pkgrel=0
pkgdesc="A Linux editor for the masses"
url="http://diakonos.pist0s.ca/download/"
arch="noarch"
license="MIT"
depends="ruby"
options="!check" #no test provided
subpackages="$pkgname-doc"
source="diakonos-$pkgver.tar.gz::https://git.sr.ht/~pistos/diakonos/archive/v$pkgver.tar.gz"
builddir="$srcdir/$pkgname-v$pkgver"

package() {
	ruby install.rb --dest-dir $pkgdir \
		--prefix /usr \
		--lib-dir /usr/lib \
		--conf-dir /etc
}

sha512sums="
515308fccdfb7dc7915359e4f7c0911f666b9e8a4a04ba5ad00e236e0b09d8e7a4a06ddab260e74322dfb0dc5b3ce617a407df1bcea3448a04f965626afeb847  diakonos-0.9.12.tar.gz
"
